package com.cmsky.open.core.util;

import java.util.HashMap;
import java.util.Map;

import com.cmsky.open.core.base.BasePager;

public class PagerUitl {
	public static Map<String,Object> pasreToLigerMap(BasePager pager){
		Map<String,Object>  result = new HashMap<String,Object>();
		result.put("Rows", pager.getRows());
		result.put("Total", pager.getTotal());
		result.put("page", pager.getPage());
		result.put("pagesize", pager.getPagesize());
		return result;
	}
}
